
import React, { ReactNode } from "react";
import style from "./index.module.scss";
interface ComContainerProps {
  children: ReactNode;
  ContentWidth: number;
}
export default function ComContainer(props: ComContainerProps) {
  const { children, ContentWidth } = props;
  return (
    <div className={style["comContainer"]}>
      <div className={style["content"]} style={{ width: `${ContentWidth}px` }}>
        {children}
      </div>
    </div>
  );
}
